package com.huike.review.service;

import com.huike.common.core.page.TableDataInfo;
import com.huike.review.pojo.Review;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {
    int saveReview(Review review);
    int removeReviewById(Long id);
    int removeReviewByIds(Long[] ids);
    int updateReview(Review review);
    Review selectOne(Long id);
    TableDataInfo page(Integer pageNum, Integer pageSize);
}
